module.exports = {
    publicPath: './',
    outputDir: 'dist',
    assetsDir: 'static',
    indexPath: 'index.html',
    devServer: {
        host: '0.0.0.0',
        proxy: {
            '/markdown':{
                target: 'https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.com', //markdown文件对象存储腾讯云地址
                changeOrigin: true,             //是否跨域
                ws: true,                       //是否代理 websockets
                secure: true,                   //是否https接口
                pathRewrite: {                  //路径重置
                    '^/markdown': ''
                }
            },
            '/api':{
                target: 'http://xx.xx.xx.xx:xxxx',//后端接口域名
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
};
